package com.huatai.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: ganghua
 * @description: 白名单
 * @author: songxiude
 * @create: 2024-11-26 13:36
 **/
@Configuration
@Data
@RefreshScope
@ConfigurationProperties("ht.allowapi")
public class SkipUrlProperties {
	/**
	 * 放行API集合
	 */
	private List<String> skipUrl;
	public List<String> getSkipUrl() {
		return skipUrl;
	}

	public void setSkipUrl(List<String> skipUrl) {
		this.skipUrl = skipUrl;
	}
}
